<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="../../common/reset.css">
    <style>
        .box {
            margin: 50px auto;
            width: 500px;
            height: 500px;
            background-color: pink;
            border-radius: 50%;
            position: relative;
            overflow: hidden;
        }
        
        .box:hover .small {
            transform: rotate(720deg);
            background-color: #fff;
        }
        
        .sbox {
            position: absolute;
            transform: translate(-50%, -50%);
            width: 450px;
            height: 450px;
            background-color: green;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            z-index: 1;
        }
        
        .small {
            position: absolute;
            background-color: blue;
            width: 250px;
            height: 500px;
            left: 50%;
            transform-origin: left center;
            transition: all 2s cubic-bezier(.93, .21, .72, .54);
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="sbox"></div>
        <div class="small"></div>
    </div>

</body>

</html>